package com.mall4j.cloud.product.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class BrowseHistoryDTO {
    @ApiModelProperty("history id")
    private Long id;

    @ApiModelProperty("userid")
    private Long userId;

    @ApiModelProperty("spu id")
    private Long spuId;

    @ApiModelProperty("浏览时间")
    private Date browseTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public Date getBrowseTime() {
        return browseTime;
    }

    public void setBrowseTime(Date browseTime) {
        this.browseTime = browseTime;
    }

    @Override
    public String toString() {
        return "BrowseHistoryDTO{" +
                "id=" + id +
                ", userId=" + userId +
                ", spuId=" + spuId +
                ", browseTime=" + browseTime +
                '}';
    }
}
